package com.sdk.cachesdk.service;

public interface CacheService {
    void set(String key, Object value);
    void set(String key, Object value, long ttl);
    <T> T get(String key, Class<T> type);
    boolean delete(String key);
    boolean hasKey(String key);
    boolean expire(String key, long ttl);
}
